package com.base.po.voip;

import java.util.Date;
import java.util.List;

/**
 * 自营商城 店铺信息
 * 
 * @author K
 *
 */
public class SelfShop {
    private String id;// id

    private String parentid;// 代理商id/appid

    private String shopName;//users表中 role为2的就是商家

    private String shopid;// 商家id
    
    private Date createtime;// 创建时间

    private String shopname;// 店铺名

    private String shoplogo;// 店铺logo

    private String shopbg;// 背景图片

    private String address;// 地址

    private String city;// 城市

    private String district;// 区
    
    private Double longitude;// 纬度

    private Double latitude; // 经度

    private String contacts;// 联系人

    private String phonenum;// 联系号码
    
    private String introduction;// 店铺简介
    
    private String busintime;// 营业时间

    private String discount;// 折扣信息
    
    private String couponcat;// 优惠券分类id

    private Byte couponcatstatus;// 是否显示优惠券分类

    private String coupongoods;// 优惠券商品id

    private Byte datastatus;// 状态
    
    private Byte isopen;// 是否开店 1通过 2审核中 3审核失败
    
    private Byte ischoice;// 是否精选 0不是 1是
    
    private Date respondtime;// 审核反应时间

    private String catid;// 店铺分类id

    private String attestation1;// 认证图1

    private String attestation2;// 认证图2

    private String attestation3;// 认证图3

    private String attestation4;// 认证图4

    private List<SelfShopGoods> goods;

    private List<String> carouselPic;// 轮播图集合

    public String getCatid() {
        return catid;
    }

    public void setCatid(String catid) {
        this.catid = catid;
    }

    private boolean sort;// 是否前10

    public boolean isSort() {
        return sort;
    }

    public void setSort(boolean sort) {
        this.sort = sort;
    }

    private Double distance; // 距离

    public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getShopid() {
        return shopid;
    }

    public void setShopid(String shopid) {
        this.shopid = shopid == null ? null : shopid.trim();
    }
    
    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname == null ? null : shopname.trim();
    }

    public String getShoplogo() {
        return shoplogo;
    }

    public void setShoplogo(String shoplogo) {
        this.shoplogo = shoplogo == null ? null : shoplogo.trim();
    }

    public String getShopbg() {
        return shopbg;
    }

    public void setShopbg(String shopbg) {
        this.shopbg = shopbg == null ? null : shopbg.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts == null ? null : contacts.trim();
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum == null ? null : phonenum.trim();
    }
    
    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }
    
    public String getBusintime() {
        return busintime;
    }

    public void setBusintime(String busintime) {
        this.busintime = busintime == null ? null : busintime.trim();
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount == null ? null : discount.trim();
    }
    
    public String getCouponcat() {
        return couponcat;
    }

    public void setCouponcat(String couponcat) {
        this.couponcat = couponcat == null ? null : couponcat.trim();
    }

    public Byte getCouponcatstatus() {
        return couponcatstatus;
    }

    public void setCouponcatstatus(Byte couponcatstatus) {
        this.couponcatstatus = couponcatstatus;
    }

    public String getCoupongoods() {
        return coupongoods;
    }

    public void setCoupongoods(String coupongoods) {
        this.coupongoods = coupongoods == null ? null : coupongoods.trim();
    }

    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }
    
    public Byte getIsopen() {
        return isopen;
    }

    public void setIsopen(Byte isopen) {
        this.isopen = isopen;
    }
    
    public Byte getIschoice() {
        return ischoice;
    }

    public void setIschoice(Byte ischoice) {
        this.ischoice = ischoice;
    }

    public Date getRespondtime() {
        return respondtime;
    }

    public void setRespondtime(Date respondtime) {
        this.respondtime = respondtime;
    }

    public String getAttestation1() {
        return attestation1;
    }

    public void setAttestation1(String attestation1) {
        this.attestation1 = attestation1;
    }

    public String getAttestation2() {
        return attestation2;
    }

    public void setAttestation2(String attestation2) {
        this.attestation2 = attestation2;
    }

    public String getAttestation3() {
        return attestation3;
    }

    public void setAttestation3(String attestation3) {
        this.attestation3 = attestation3;
    }

    public String getAttestation4() {
        return attestation4;
    }

    public void setAttestation4(String attestation4) {
        this.attestation4 = attestation4;
    }

    public List<SelfShopGoods> getGoods() {
        return goods;
    }

    public void setGoods(List<SelfShopGoods> goods) {
        this.goods = goods;
    }

    public List<String> getCarouselPic() {
        return carouselPic;
    }

    public void setCarouselPic(List<String> carouselPic) {
        this.carouselPic = carouselPic;
    }

    public SelfShop() {
		super();
	}

	public SelfShop(String id, String parentid, String shopid, Date createtime, Byte datastatus, 
			Byte isopen, Date respondtime) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.shopid = shopid;
		this.createtime = createtime;
		this.datastatus = datastatus;
		this.isopen = isopen;
		this.respondtime = respondtime;
	}

	public SelfShop(String id, String parentid, String shopid, String shopname, String shoplogo, String shopbg,
			String address, String contacts, String phonenum, Byte datastatus) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.shopid = shopid;
		this.shopname = shopname;
		this.shoplogo = shoplogo;
		this.shopbg = shopbg;
		this.address = address;
		this.contacts = contacts;
		this.phonenum = phonenum;
		this.datastatus = datastatus;
	}

	public SelfShop(String id, String parentid, String shopid, Date createtime, String shopname, String shoplogo,
			String shopbg, String address, Double latitude, Double longitude, String contacts, String phonenum, 
			String introduction, String busintime, String discount, Byte datastatus,Byte isopen) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.shopid = shopid;
		this.createtime = createtime;
		this.shopname = shopname;
		this.shoplogo = shoplogo;
		this.shopbg = shopbg;
		this.address = address;
		this.latitude = latitude;
		this.longitude = longitude;
		this.contacts = contacts;
		this.phonenum = phonenum;
		this.introduction = introduction;
		this.busintime = busintime;
		this.discount = discount;
		this.datastatus = datastatus;
		this.isopen = isopen;
	}

    public SelfShop(String id, String parentid, String shopid, Date createtime, String shopname, String shoplogo,
                    String shopbg, String address, String city, String district, Double latitude, Double longitude, String contacts,
                    String phonenum, String introduction, String busintime, String discount, Byte datastatus, Byte isopen) {
        super();
        this.id = id;
        this.parentid = parentid;
        this.shopid = shopid;
        this.createtime = createtime;
        this.shopname = shopname;
        this.shoplogo = shoplogo;
        this.shopbg = shopbg;
        this.address = address;
        this.city = city;
        this.district = district;
        this.latitude = latitude;
        this.longitude = longitude;
        this.contacts = contacts;
        this.phonenum = phonenum;
        this.introduction = introduction;
        this.busintime = busintime;
        this.discount = discount;
        this.datastatus = datastatus;
        this.isopen = isopen;
    }

    public SelfShop(String id, String parentid, String shopid, Date createtime, String shopname, String shoplogo,
                    String shopbg, String address, String city, String district, Double latitude, Double longitude, String contacts,
                    String phonenum, String introduction, String busintime, String discount, Byte datastatus, Byte isopen,
                    String attestation1,  String attestation2,  String attestation3,  String attestation4) {
        super();
        this.id = id;
        this.parentid = parentid;
        this.shopid = shopid;
        this.createtime = createtime;
        this.shopname = shopname;
        this.shoplogo = shoplogo;
        this.shopbg = shopbg;
        this.address = address;
        this.city = city;
        this.district = district;
        this.latitude = latitude;
        this.longitude = longitude;
        this.contacts = contacts;
        this.phonenum = phonenum;
        this.introduction = introduction;
        this.busintime = busintime;
        this.discount = discount;
        this.datastatus = datastatus;
        this.isopen = isopen;
        this.attestation1 = attestation1;
        this.attestation2 = attestation2;
        this.attestation3 = attestation3;
        this.attestation4 = attestation4;
    }
}